package cn.neusoft.service;

import cn.neusoft.query.BaseQuery;
import cn.neusoft.vo.ResultBean;
import java.util.List;

public interface IBaseService<T>{

    ResultBean save(T t);
    ResultBean add(T t);
    ResultBean update(T t);
    ResultBean delete(Integer id);
    ResultBean getById(Integer id);
    ResultBean getAll(BaseQuery baseQuery);
    ResultBean batchDel(List<Integer> ids);

}
